﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.Detection
{
    /// <summary>
    /// 检验报告单ID（未迁移）
    /// </summary>
    public class COAData
    {
        /// <summary>
        /// 检疫报告单ID
        /// </summary>
        [Key]
        public int COAId {  get; set; }
        /// <summary>
        /// 单据ID
        /// </summary>
        public string LiveAnimalsDocument { get; set; } = string.Empty;
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime LiveAnimalsDocumentTime {  get; set; }= DateTime.Now;
        /// <summary>
        /// 检验报告类型
        /// </summary>
        public string COARType { get; set; }=string.Empty;
        /// <summary>
        /// 检测商品
        /// </summary>
        public string COAGoods {  get; set; } = string.Empty;
        /// <summary>
        /// 商品批号
        /// </summary>
        public string CheckInBatch {  get; set; } = string.Empty;
        /// <summary>
        /// 检验类型
        /// </summary>
        public string COAQuarantineType { get; set; } = string.Empty;
        /// <summary>
        /// 样品来源
        /// </summary>
        public string OriginAddr { get; set; } = string.Empty;
        /// <summary>
        /// 样品规格
        /// </summary>
        public string SampleSize {  get; set; } = string.Empty;
        /// <summary>
        /// 样品数量
        /// </summary>
        public int SampleNum {  get; set; }
        /// <summary>
        /// 到样日期
        /// </summary>
        public DateTime SampleTime {  get; set; } = DateTime.Now;
        /// <summary>
        /// 样品形态
        /// </summary>
        public string SampleData {  get; set; } = string.Empty;
        /// <summary>
        /// 检验日期
        /// </summary>
        public DateTime COATime {  get; set; } = DateTime.Now;
        /// <summary>
        /// 执行标准
        /// </summary>
        public string ExecuteData {  get; set; } = string.Empty;
        /// <summary>
        /// 审核状态
        /// </summary>
        public int COAAuditState {  get; set; } 
        /// <summary>
        /// 制单人
        /// </summary>
        public string COACreateName {  get; set; } = string.Empty;
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime COACreateTime {  get; set; } = DateTime.Now;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool ISDeleteCOA {  get; set; }
        /// <summary>
        /// 检疫证
        /// </summary>
        public string COAImage {  get; set; } = string.Empty;
        /// <summary>
        /// 生产单位
        /// </summary>
        public string ProductionName {  get; set; } = string.Empty;
        /// <summary>
        /// 检验结论
        /// </summary>
        public string COAverdict {  get; set; } = string.Empty;
    }
}
